Bookly\Frontend\Modules\Booking\Ajax D

Total Complexity 264
Dependencies 42
Dependents 1
Total lines 1,376
Lines of code 1,065
Logical lines of code 558
Comment lines 160
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
renderTime()
D
24
43 143
_prepareProgressTracker()
C
33 30 83
renderPayment()
C
33 26 88
sessionSave()
C
38 24 61
saveAppointment()
B
35 17 83
renderDetails()
A
39 13 62
_setDataForSkippedServiceStep()
A
43 14 44
renderNextTime()
A
43 13 41
addToCalendar()
A
43 11 46
renderService()
A
37 7 76
renderComplete()
A
44 9 42
approveAppointment()
A
45 9 40
getGateways()
A
46 9 38
rejectAppointment()
A
48 7 33
renderExtras()
S
46 6 39
_handleTimeZone()
S
53 6 23
wpUserLogin()
S
43 4 48
renderCart()
S
52 5 24
renderRepeat()
S
57 2 16
cancelAppointment()
S
62 3 10
csrfTokenValid()
S
63 2 11
_showCartButton()
S
78 2 3
renderIcs()
S
65 1 8
permissions()
S
79 1 3